package com.erp.erp_servers.ProductFjGysBak.imp;

import com.erp.erp_dao.ProductFjGysBak.IProductFjGysBakDAO;
import com.erp.erp_entitys.ProductFjGysBak.ProductFjGysBakEntity;
import com.erp.erp_entitys.ProductFjGysBak.ProductFjGysBakExample;
import com.erp.erp_servers.ProductFjGysBak.IProductFjGysBakService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ImpProducFjGysBakService implements IProductFjGysBakService {
    @Autowired
    IProductFjGysBakDAO productFjGysBakDAO;
    @Override
    public long countByExample(ProductFjGysBakExample example) {
        return productFjGysBakDAO.countByExample(example);
    }

    @Override
    public int deleteByExample(ProductFjGysBakExample example) {
        return productFjGysBakDAO.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return productFjGysBakDAO.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(ProductFjGysBakEntity record) {
        return productFjGysBakDAO.insert(record);
    }

    @Override
    public int insertSelective(ProductFjGysBakEntity record) {
        return productFjGysBakDAO.insertSelective(record);
    }

    @Override
    public List<ProductFjGysBakEntity> selectByExample(ProductFjGysBakExample example) {
        return productFjGysBakDAO.selectByExample(example);
    }

    @Override
    public ProductFjGysBakEntity selectByPrimaryKey(Integer id) {
        return productFjGysBakDAO.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(ProductFjGysBakEntity record, ProductFjGysBakExample example) {
        return productFjGysBakDAO.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(ProductFjGysBakEntity record, ProductFjGysBakExample example) {
        return productFjGysBakDAO.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(ProductFjGysBakEntity record) {
        return productFjGysBakDAO.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ProductFjGysBakEntity record) {
        return productFjGysBakDAO.updateByPrimaryKey(record);
    }
}
